/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package olympicgameslogic;

import java.io.Serializable;

/**
 *
 * @author Fabio
 */
public class AppUser implements Serializable{
   
   public static enum userType {admin, edit, consult}
    
    private String username;
    private String password;
    private userType perfil;

    public AppUser(String username, String password, userType perfil) {
	this.username = username;
	this.password = password;
	this.perfil = perfil;
    }
    /**
     * @return the username
     */
    public String getUsername() {
	return username;
    }
    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
	this.username = username;
    }
    /**
     * @return the password
     */
    public String getPassword() {
	return password;
    }
    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
	this.password = password;
    }

    /**
     * @return the perfil
     */
    public userType getPerfil() {
	return perfil;
    }

    /**
     * @param perfil the perfil to set
     */
    public void setPerfil(userType perfil) {
	this.perfil = perfil;
    }
    
    
}
